package com.hqd.ch03.v51.context.annotation;

import com.hqd.ch03.v51.core.type.AnnotationMetadata;

import java.util.function.Predicate;

/**
 * 导入选择器
 */
public interface ImportSelector {

    /**
     * 扫描对应的导入类
     *
     * @param importingClassMetadata
     * @return
     */
    String[] selectImports(AnnotationMetadata importingClassMetadata);

    default Predicate<String> getExclusionFilter() {
        return null;
    }

}
